package com.yupi.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.dto.chart.ChartQueryRequest;
import com.yupi.springbootinit.model.entity.Chart;
import com.yupi.springbootinit.model.vo.ChartVO;

import javax.servlet.http.HttpServletRequest;

/**
 * 图表 ervice
 */
public interface ChartService extends IService<Chart> {

    boolean updateChartById(Chart chart,HttpServletRequest request) throws Exception;

    Page dtoPage(ChartQueryRequest chartQueryRequest);

    Page page(ChartQueryRequest chartQueryRequest, HttpServletRequest request);

    ChartVO getChartById(long id);
}
